/**
 */
package ConnectorGenerator.DRD.util;

import ConnectorGenerator.Auxiliary.FirstClassEntity;

import ConnectorGenerator.ConnectorSpecification;

import ConnectorGenerator.DRD.*;

import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notifier;

import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * The <b>Adapter Factory</b> for the model.
 * It provides an adapter <code>createXXX</code> method for each class of the model.
 * <!-- end-user-doc -->
 * @see ConnectorGenerator.DRD.DRDPackage
 * @generated
 */
public class DRDAdapterFactory extends AdapterFactoryImpl {
	/**
	 * The cached model package.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected static DRDPackage modelPackage;

	/**
	 * Creates an instance of the adapter factory.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public DRDAdapterFactory() {
		if (modelPackage == null) {
			modelPackage = DRDPackage.eINSTANCE;
		}
	}

	/**
	 * Returns whether this factory is applicable for the type of the object.
	 * <!-- begin-user-doc -->
	 * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
	 * <!-- end-user-doc -->
	 * @return whether this factory is applicable for the type of the object.
	 * @generated
	 */
	@Override
	public boolean isFactoryForType(Object object) {
		if (object == modelPackage) {
			return true;
		}
		if (object instanceof EObject) {
			return ((EObject)object).eClass().getEPackage() == modelPackage;
		}
		return false;
	}

	/**
	 * The switch that delegates to the <code>createXXX</code> methods.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DRDSwitch<Adapter> modelSwitch =
		new DRDSwitch<Adapter>() {
			@Override
			public Adapter caseDock(Dock object) {
				return createDockAdapter();
			}
			@Override
			public Adapter caseDockCapability(DockCapability object) {
				return createDockCapabilityAdapter();
			}
			@Override
			public Adapter caseConnector(Connector object) {
				return createConnectorAdapter();
			}
			@Override
			public Adapter caseConnectorEndpoint(ConnectorEndpoint object) {
				return createConnectorEndpointAdapter();
			}
			@Override
			public Adapter caseComponent(Component object) {
				return createComponentAdapter();
			}
			@Override
			public Adapter caseInterface(Interface object) {
				return createInterfaceAdapter();
			}
			@Override
			public Adapter caseFeatureInSet(FeatureInSet object) {
				return createFeatureInSetAdapter();
			}
			@Override
			public Adapter caseFeatureOr(FeatureOr object) {
				return createFeatureOrAdapter();
			}
			@Override
			public Adapter caseFeatureRequirement(FeatureRequirement object) {
				return createFeatureRequirementAdapter();
			}
			@Override
			public Adapter caseFeatureAnd(FeatureAnd object) {
				return createFeatureAndAdapter();
			}
			@Override
			public Adapter caseAllocation(Allocation object) {
				return createAllocationAdapter();
			}
			@Override
			public Adapter caseComponentAllocation(ComponentAllocation object) {
				return createComponentAllocationAdapter();
			}
			@Override
			public Adapter caseDRDDocument(DRDDocument object) {
				return createDRDDocumentAdapter();
			}
			@Override
			public Adapter caseFirstClassEntity(FirstClassEntity object) {
				return createFirstClassEntityAdapter();
			}
			@Override
			public Adapter caseConnectorSpecification(ConnectorSpecification object) {
				return createConnectorSpecificationAdapter();
			}
			@Override
			public Adapter defaultCase(EObject object) {
				return createEObjectAdapter();
			}
		};

	/**
	 * Creates an adapter for the <code>target</code>.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param target the object to adapt.
	 * @return the adapter for the <code>target</code>.
	 * @generated
	 */
	@Override
	public Adapter createAdapter(Notifier target) {
		return modelSwitch.doSwitch((EObject)target);
	}


	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.Dock <em>Dock</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.Dock
	 * @generated
	 */
	public Adapter createDockAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.DockCapability <em>Dock Capability</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.DockCapability
	 * @generated
	 */
	public Adapter createDockCapabilityAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.Connector <em>Connector</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.Connector
	 * @generated
	 */
	public Adapter createConnectorAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.ConnectorEndpoint <em>Connector Endpoint</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.ConnectorEndpoint
	 * @generated
	 */
	public Adapter createConnectorEndpointAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.Component <em>Component</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.Component
	 * @generated
	 */
	public Adapter createComponentAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.Interface <em>Interface</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.Interface
	 * @generated
	 */
	public Adapter createInterfaceAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.FeatureInSet <em>Feature In Set</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.FeatureInSet
	 * @generated
	 */
	public Adapter createFeatureInSetAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.FeatureOr <em>Feature Or</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.FeatureOr
	 * @generated
	 */
	public Adapter createFeatureOrAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.FeatureRequirement <em>Feature Requirement</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.FeatureRequirement
	 * @generated
	 */
	public Adapter createFeatureRequirementAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.FeatureAnd <em>Feature And</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.FeatureAnd
	 * @generated
	 */
	public Adapter createFeatureAndAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.Allocation <em>Allocation</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.Allocation
	 * @generated
	 */
	public Adapter createAllocationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.ComponentAllocation <em>Component Allocation</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.ComponentAllocation
	 * @generated
	 */
	public Adapter createComponentAllocationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.DRD.DRDDocument <em>Document</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.DRD.DRDDocument
	 * @generated
	 */
	public Adapter createDRDDocumentAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.Auxiliary.FirstClassEntity <em>First Class Entity</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.Auxiliary.FirstClassEntity
	 * @generated
	 */
	public Adapter createFirstClassEntityAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for an object of class '{@link ConnectorGenerator.ConnectorSpecification <em>Connector Specification</em>}'.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null so that we can easily ignore cases;
	 * it's useful to ignore a case when inheritance will catch all the cases anyway.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @see ConnectorGenerator.ConnectorSpecification
	 * @generated
	 */
	public Adapter createConnectorSpecificationAdapter() {
		return null;
	}

	/**
	 * Creates a new adapter for the default case.
	 * <!-- begin-user-doc -->
	 * This default implementation returns null.
	 * <!-- end-user-doc -->
	 * @return the new adapter.
	 * @generated
	 */
	public Adapter createEObjectAdapter() {
		return null;
	}

} //DRDAdapterFactory
